﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using ProducerBO;

namespace Producer
{
    public partial class ProducerSignIn : System.Web.UI.Page
    {
        PRODUCERR PRO= new PRODUCERR();
        protected void Page_Load(object sender, EventArgs e)
        {
           
        }

        protected void BP_SIGNIN_Click(object sender, EventArgs e)
        {
           DataTable dt = PRO.GetRecords(Convert.ToInt64(-99), "","","",-99, "", TP_UNAME.Text, TP_PASS.Text, false,true, "and");
         //   pro.P_ID = Convert.ToInt64(dt.Rows[0]["pno"].ToString());
       //    string PRODUCER_NAME = dt.Rows[0]["P_NAME"].ToString();
              /// Response.Write(PRODUCER_NAME);
       Response.Redirect("~/ProducerWelcome.aspx");
        }

       
    }
}
